@import "compass/utilities/sprites";
@mixin wi-sprites($name,$sprites,$pad){
    background-image: sprite-url($sprites);
    background-position: sprite-position($sprites, $name, -$pad, -$pad);
    background-repeat: no-repeat;
}
@mixin wi1-sprites($sprites,$pad){
    background-image: sprite-url($sprites);
    background-position: sprite-position($sprites, -$pad, -$pad);
    background-repeat: no-repeat;
}
$sprites24: sprite-map("wi/24/*.png");
$sprites42: sprite-map("wi/42/*.png");
$sprites80: sprite-map("wi/80/*.png");
// @include all-#{$sprites80}-sprites();
// @include wi-sprites();
.weather_10{
    @include wi-sprites(weather_10,$sprites24,0);
}
// @include wi1-sprites($sprites24,0);//错误没有指定具体的图片
// .a{
//     background-image: sprite-url($sprites24);
// }